import request from '@/utils/request'

export const swiper = function () {
    return request.get('/home/swiper')
  }

  export const liebiao =function(){
    return request.get('/houses')
  }

  export const seeding =function(id){
    return request.get('/houses/'+id)
  }

  // 热门城市
  export const hot=function(){
    return request.get('/area/hot')
  }

  // 城市列表
  export const lists=function(level ){
    return request.get('/area/city',{params:{ level }})
  }
// 租房小组
  export const zu=function(area  ){
    return request.get('/home/groups',{params:{ area  }})
  }
  